<div class="sidebar">
    <nav class="sidebar-nav">
        <ul class="nav">
            <!--<li class="nav-item">-->
                <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.main"><i class="icon-speedometer"></i>-->
                    <!--Dashboard <span class="badge badge-info">NEW</span></a>-->
            <!--</li>-->

            <!--<li class="divider"></li>-->
            <!--<li class="nav-title">-->
                <!--UI Elements-->
            <!--</li>-->
            <!--<li class="nav-item nav-dropdown" ng-class="{open: $state.includes('app1.components')}">-->
            <!--<a class="nav-link nav-dropdown-toggle" ng-class="{active: $state.includes('app1.components')}" href="#"><i class="icon-puzzle"></i> Components</a>-->
            <!--<ul class="nav-dropdown-items">-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.components.buttons"><i class="icon-puzzle"></i> Buttons</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.components.social-buttons"><i class="icon-puzzle"></i> Social Buttons</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.components.cards"><i class="icon-puzzle"></i> Cards</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.components.forms"><i class="icon-puzzle"></i> Forms</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.components.switches"><i class="icon-puzzle"></i> Switches</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.components.tables"><i class="icon-puzzle"></i> Tables</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.components.tables"><i class="icon-puzzle"></i> 患者管理</a>-->
            <!--</li>-->

            <!--</ul>-->
            <!--</li>-->
            <!--<li class="nav-item nav-dropdown" ng-class="{open: $state.includes('app1.icons')}">-->
            <!--<a class="nav-link nav-dropdown-toggle" ng-class="{active: $state.includes('app1.icons')}" href="#"><i class="icon-star"></i> Icons</a>-->
            <!--<ul class="nav-dropdown-items">-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.icons.fontawesome"><i class="icon-star"></i> Font Awesome</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.icons.simplelineicons"><i class="icon-star"></i> Simple Line Icons</a>-->
            <!--</li>-->
            <!--</ul>-->
            <!--</li>-->
            <li class="nav-item nav-dropdown" has-authority="ROLE_ADMIN" ng-class="{open: $state.includes('repository')}">
                <a class="nav-link nav-dropdown-toggle" ng-class="{active: $state.includes('repository')}"
                   href="#"><i class="icon-star"></i> 知识库管理</a>
                <ul class="nav-dropdown-items">
                    <li class="nav-item">
                        <a class="nav-link" ui-sref-active="active" ui-sref="zhBing-mingmySuffix"><i
                            class="icon-star"></i>病名</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" ui-sref-active="active" ui-sref="zhZheng-xingmySuffix"><i
                            class="icon-star"></i>证型</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" ui-sref-active="active" ui-sref="zhChu-fangmySuffix"><i
                            class="icon-star"></i>处方</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" ui-sref-active="active" ui-sref="zhZheng-xiang-mingmySuffix"><i
                            class="icon-star"></i>症象名</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" ui-sref-active="active" ui-sref="zhJ-t-zheng-xiangmySuffix"><i
                            class="icon-star"></i>具体症象</a>
                    </li>
                </ul>
            </li>

            <li class="nav-item nav-dropdown" ng-class="{open: $state.includes('zhRule-repository')}">
                <a class="nav-link nav-dropdown-toggle" ng-class="{active: $state.includes('zhRule-repository')}" href="#"><i
                    class="icon-layers"></i> 规则库管理</a>
                <ul class="nav-dropdown-items">
                    <li class="nav-item">
                        <a class="nav-link" ui-sref-active="active" ui-sref="zhRule-repository-create"><i
                            class="icon-magnifier-add"></i> 创建我的规则</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" ui-sref-active="active" ui-sref="zhRule-repositorymySuffix"><i
                            class="icon-eye"></i> 查看我的规则</a>
                    </li>
                </ul>
            </li>

            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.widgets"><i class="icon-calculator"></i> Widgets <span class="badge badge-info">NEW</span></a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="app1.charts"><i class="icon-pie-chart"></i> Charts</a>-->
            <!--</li>-->
            <li class="nav-item" has-authority="ROLE_ADMIN">
                <a class="nav-link" ui-sref-active="active" ui-sref="zhHospital"><i class="icon-calculator"></i> 医院管理
                </a>
            </li>
            <li class="nav-item" has-authority="ROLE_ADMIN">
                <a class="nav-link" ui-sref-active="active" ui-sref="zhDepartment"><i class="icon-calculator"></i> 科室管理
                </a>
            </li>
            <li class="nav-item" has-authority="ROLE_ADMIN">
                <a class="nav-link" ui-sref-active="active" ui-sref="zhDoctor"><i class="icon-pie-chart"></i> 医生管理</a>
            </li>
            <li class="nav-item" has-authority="ROLE_ADMIN">
                <a class="nav-link" ui-sref-active="active" ui-sref="zhManage"><i class="icon-calculator"></i> 医生审核 </a>
            </li>
            <li class="nav-item" has-authority="ROLE_ADMIN">
                <a class="nav-link" ui-sref-active="active" ui-sref="zhUserinfo"><i class="icon-calculator"></i> 患者管理
                </a>
            </li>
            <li class="nav-item" has-authority="ROLE_ADMIN">
                <a class="nav-link" ui-sref-active="active" ui-sref="zhtopic"><i class="icon-calculator"></i> 话题管理
                </a>
            </li>
            <li class="nav-item" has-authority="ROLE_ADMIN">
                <a class="nav-link" ui-sref-active="active" ui-sref="zhcommunity"><i class="icon-calculator"></i> 社区管理
                </a>
            </li>
            <li class="divider"></li>
            <li class="nav-title">
                Extras
            </li>
            <!--<li class="nav-item nav-dropdown" ng-class="{open: $state.includes('app1.pages')}">-->
            <!--<a class="nav-link nav-dropdown-toggle" ng-class="{active: $state.includes('app1.pages')}" href="#"><i class="icon-star"></i> Pages</a>-->
            <!--<ul class="nav-dropdown-items">-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="appSimple.login"><i class="icon-star"></i> Login</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="appSimple.register"><i class="icon-star"></i> Register</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="appSimple.404"><i class="icon-star"></i> Error 404</a>-->
            <!--</li>-->
            <!--<li class="nav-item">-->
            <!--<a class="nav-link" ui-sref-active="active" ui-sref="appSimple.500"><i class="icon-star"></i> Error 500</a>-->
            <!--</li>-->
            <!--</ul>-->
            <!--</li>-->

        </ul>
    </nav>
</div>
